package com.mcxx.modules.miniSalvation.family.service.read;

import com.mcxx.modules.miniSalvation.family.dao.read.FamilyThreeMemberDao;
import com.mcxx.modules.miniSalvation.family.dto.FamilyThreeMemberDTO;
import com.mcxx.modules.miniSalvation.family.entity.FamilyMemberEntity;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("FamilyThreeMemberReadService")
@TaTransactional(readOnly = true)
public class FamilyThreeMemberReadService {
    @Autowired
    private FamilyThreeMemberDao familyThreeMemberDao;


    public FamilyThreeMemberDTO queryMemberByCardId(String idcard) {
        return familyThreeMemberDao.queryMemberByCardId(idcard);
    }


}
